HipFrameBuffer

Undocumented in source.

Constructors

this
this(IHipFrameBuffer fbImpl, int width, int height, Shader framebufferShader)
Undocumented in source.

Members

Functions

bind
void bind()
Undocumented in source. Be warned that the author may not have intended to support it.
clear
void clear()
Undocumented in source. Be warned that the author may not have intended to support it.
create
void create(uint width, uint height)
Undocumented in source. Be warned that the author may not have intended to support it.
dispose
void dispose()
Undocumented in source. Be warned that the author may not have intended to support it.
draw
void draw()
Undocumented in source. Be warned that the author may not have intended to support it.
getTexture
IHipTexture getTexture()
Undocumented in source. Be warned that the author may not have intended to support it.
resize
void resize(uint width, uint height)
Undocumented in source. Be warned that the author may not have intended to support it.
unbind
void unbind()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

currentShader
Shader currentShader;
height
int height;
Undocumented in source.
impl
IHipFrameBuffer impl;
Undocumented in source.
width
int width;
Undocumented in source.

Inherited Members

From IHipFrameBuffer

create
void create(uint width, uint height)

Creates the framebuffer using the target width and height

resize
void resize(uint width, uint height)

Resizes the framebuffer, probably this will not be implemented in the backend level

bind
void bind()

Binds the framebuffer, setting it as a target for every draw call

unbind
void unbind()

Unbinds the framebuffer, resetting the renderer state and setting the output as the screen

draw
void draw()

Must draw the framebuffer content

clear
void clear()

Clears the current framebuffer content

getTexture
IHipTexture getTexture()

Gets the texture containing the framebuffer data

dispose
void dispose()
Undocumented in source.

Meta